package com.example.fireassistant_server.service;

import com.example.fireassistant_server.dto.user.UserCreateRequest;
import com.example.fireassistant_server.dto.wechat.WechatUserDto;
import com.example.fireassistant_server.dto.wechat.WechatUserSearchFilter;
import com.example.fireassistant_server.entity.User;
import org.springframework.data.domain.Page;

public interface WechatUserService {

    WechatUserDto createWechatUser(String openId, UserCreateRequest userCreateRequest);

    WechatUserDto getCurrentUser(String openId);

    WechatUserDto getWechatUserByUser(User user);

    void deleteWechatUserByUser(User user);

    Page<WechatUserDto> search(WechatUserSearchFilter filter);
}
